Streams: fixed transmission of output needs through flatMaps