Fixed some bugs, when user has only one of the roles