Fix upgrading labels when only using masterprofile