Add conditions to vote feature