[Fix] Removing receipt that has credit amounts allocated to multiple invoices no longer gives an error.