Fix: a couple of minor bugs in stream methods.