Fix nonsense in leader selection