#393 Add UNION ALL support for subqueries