Making comment upvote/downvote work with custom templates