Legacy check before deletion of children elements