Typo in comparison

This code sets wrong ids to current user's groups