fixed migration to work even if user/group migrations have not yet run