exclude PK and FK from ilike query