Fixed issue with nodes having different-sized indices, improved leader
election by allowing nodes to refute a leadership announcement with a
reference to a node that should be higher in the gradient.