Fixed #20462 - Fixed sqlite regex lookups for null values and non-string fields.