MT#5879 Fix delete button for invoices