TEIID-2914 fixed where advanced searching option is controlled in connector

TEIID-2914 fixed where advanced searching option is controlled in connector