Add wildcard support for query values