Fixed problem in queryLog still referencing queryToString() instead of query()