add default for wildcard only queries