Fixed the duration check when a vote is a cast in the hubotify script