Fixed cardinality problem with User/Group relationship.

To replicate original problem:

 - Start with a fresh database.
 - Sign up user1.
 - Sign up user2.
 - Create group1.
 - Add group1 to user1.
 - Add group1 to user2.