Fixed a typo in get_node

...me node was being pushed multiple times into the array and the same node was selected to be returned -- now, we will most likely get a node with node.pending < average(node.pending) of all healthy nodes