Groups have to be reloaded before saving or else they will silently throw error

This fixes the problem where groups are created during the migration but the users don't get added to them.