Fixed a loophole in the voting system.