Fix the wrong use of variable vote > votecount