Fixed this.handleInsertQuery to handleInsertQuery.call