Fix QuorumIndex calculation