Remove unnecessary wildcard match