Better fix for bug where current statement cannot be upvoted