Fixed error when adding a user to individual groups