Fix a bug with open enrollment in groups where the user would not be properly added to a group.