Fix a bug for "XXX && sub_filter(...)" type filter

In the filter, "sub_filter(...)" is just ignored. "sub_filter(...)"
should substitute matched records from records that are matched
against "XXX".