Made date checking more precise.