Fix a case where the AcceptedLedger constructor throws