fixed an issue with update one user's grades

Updating one user's grades in team mode now correctly inserts grades
and throws an error when a user is in more than one group