Election Tie Bug

fixed a bug where the system might close an election, even if their is a
tie.