Added checking for ordered streams.