Avoid 'null' text value in the filter