Rename query to wildcards

..and fix references.