Added reference removing on item delete