TEIID-2748 detecting more situations where various constructs can be
pushed