_Priority_Plain_extract() sets the extracted priority node to off-chain before it is reused by thread queue flush. Updates #5491