Corrected invoices printing bug