Fixing possible crash when deserializing p3skb