It is not so effective to query the transaction (```old```), call the ```Base.history_undo``` only with its ID and retrieve the transaction again in that method... I would rather only decode the `extcmds` into the ```id_or_offset``` here, but ```Output.historyInfoCmdPkgsAltered``` requires the transaction object and thus it is non-trivial to refactor this method.