Fix decompression bug from Alexander Gryzlov.