Fix server error when voting on comments