Fix bad quorum calculation.