Updates query for whether a user has voted to dynamically specify the poll.