Making changes to date comparison.