Added subquery (OR) support.
Subquery testcase