#10847 user groups fix

Minor fixes to get get Group functionality working again for http://askbot.org/en/question/10847/adding-users-to-groups/

Let me know if there are any adjustments required for merging.