Fix a bug with bytes deserialization.