solve pushdown filter logic