Fix certain queries with LocalProxy objects
Merge pull request #9 from elasticsales/fix-proxy-queries

Fix certain queries with LocalProxy objects