fix clay company deletion if object is joined