Fixed a rare case of losing data from the decompressor's internal result buffer.