Make wildcards try without the wildcard if they end with a *.