Question about secret voting demo

Just requesting an answer to the question posed in the comments here in this youtube video, as I see it is still unanswered. It seems like encrypting (vote, salt) instead of just (vote) would solve the problem. Thoughts?