Date validation correction.