NestedQueryTransform in reduction position