Fix assigning users to group