Fix and simplify has_voted flag on queue.