Fix an error from bug 998796
Merge pull request #13 from luser/fix-compression-again

Fix an error from bug 998796