Handle the case where the profile is updated after syncing has started
(so we can't clear the isDirty flag)