Isolate subquery behaviour and processing