Fixed bug with upvotes