TEIID-2793 limiting the scope of the searchable check