Made the pattern matcher find exact matches before using wildcards.