Fix: Replaced invoices by invoice we delete are freed from status
'replaced' (so they can be opened again).