Do not sort hints if the query string only matches prefixes.