Repair broken this.queryTokens()