Fix number of months displayed in graphics in invoices