fixed a bug when upvoting
Merge pull request #105 from ibarreto/master

fixed important bug!