Fix Switch Statement for `_getUserGroups()`

Fix switch statement for `_getUserGroups()`

Previous commit introduced a bug with an incorrect switch statement.
This commit corrects that.