Query should use `query`

Remove erroneous reference.