Fixed a bug that from release 188 was causing billed expenses and time slips to lose their link to the invoice if they were part of a multi-item line item such as an expense that rolls up or a billing rate with multiple time slips. This fix also corrected the affected expenses and time slips