Fixed the selection of nodes executing which protocol. Now the choice is not made at random