Fix date calculating bug

Poll date in the future was allowed as
recently published date for a poll.