Change valid-vote to be more idiomatic

pretty self-explanatory