Fixed issues with voting.