Added regression test for subquery in FILTER clause.