Corner component not interpolating correctly

I am using a round corner component in my glyphs. I have 2 masters - Regular and Black.
When I am trying to interpolate more weights in between the masters, the corner components are not scaling properly. Any help would be highly appreciated. Here are the images –

For Regular –
image
image

For Black –


image

Interpolation -

I figured it out. The info of the corner component was not right in the regular and black masters. Correcting those values, fixed the problems.