stream: remove ambigious code
This cleans up some ambiguous code. I don't believe this actually causes any observable change of behaviour.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines