Fixed major bug in nexted subshells/pipelines.