Time_invoice_detail duplication handled