Fixed wildcard handling for outputs