Skip invalid dates when searching date columns.