Fix quorum counting