Fix the licensing flaw

Fix a mistake in the way the "next check date" is checked, which could allow people to bypass the licensing system by setting a really high date (eg: 1000 years in the future).