Change splitLastOutput to require at least one output