Fix sub-item delete.