Call next middleware only if no matching paths