Finishes fixing issue #10

Fixes the SQL Error that gets formed by adding a member to the group.