refs 5649 delete parent and child