Fixed issue with creating new invoices

refs #162