Deal with NULL values on sample search text