Fixed bug for window with subqueries.