Solved issue #7. Voting works now.