Fix wildcard escaping