[ledgercli] Do not remove the old transaction on invalid update