Fix matching of wildcard path param with trailing /