Fixed work with user roles.