Get only nodes connected from query node

Untick "Connect result nodes" in the settings, the gear icon on the left.