When removing bundle, also remove references in profiles