Corrected flushing problem in second compression/decompression pass