fix for missing old invoices