Fix the initial migration of profiles