fix bug in tally computation when a candidate has 0 votes.