Handle multiple concurrent votes

Currently the code loses track of votes if multiple people are voting simultaneously.