make term lookup ignore irrelevant conditions