fix two bugs: remove isElectable from shouldVeto, and in second phase of election, set voteYes to the return value of acceptPossiblePrimary