Fix in user groups checking.