fix search upvote bug