Ensure empty date values are not crashing.