Fixes a bug when a refinement adds a default
Fixes a bug when a refinement adds a default

vkosuri/pyang,jgatkinsn/pyang,jgatkinsn/pyang,krvinay123/test,mbj4668/pyang,kspviswa/pyang,krvinay123/test,kspviswa/pyang,vkosuri/pyang,mbj4668/pyang