Fixes to leader election.