Fix IssuedInvoice.last_number