Fixed infinite vote loop