Merge "Fix the exception during checking user in groups"