Fixed a bug in zipChunks.