Refine profiles so it's not using a inherited base profile