Removed deprecated SQLQuery calls from reports
Merge pull request #157 from markguinn/patch-reports-ss3

Patch reports for ss3.1 compatibility