Fix bug with reading stream in wrong order, as the stream is fifo to be reverse chronological order