Fixes issue with spiderfy and usergroups

This commit fixes issue #68