Fixed a bug with the compressed protocol.