Bugfix for reading of compressed packets.