Handle sql.NullValues in search conditions