Date checks corrected.