Adding basic support for wildcard queries.