Improved Date comparison.