Fixed issue #7, unable to create lines in invoices.