Fixed date.interval checks.