Fix deserialization issue with compressed messages.