Fix #52: Use the voting dates in the check for voting