Patch reports for ss3.1 compatibility

Removed deprecated method calls to SQLQuery (e.g. replacing innerJoin with addInnerJoin). I believe these were fine in 3.0 but began throwing warnings in 3.1.