Fixing assert in payload recoder