Added and streamlined validation checking on vote page.