`this.query` may be undefined based on the regex higher up.