Fixed a bug where references in queries were getting doubled up.
Merge branch 'master' of github.com:silentorb/ground_php