Fixes chained queries
Merge pull request #46 from data-axle/scoping

Fixes chained queries