Fix: Regression of zlib compression bug