Fixes error with sending compressed byte array.