Correctly handle unset values for date columns