Bug fix on output set creation.