ensure all child nodes are removed

When monkey testing it was found that elements could be left behind
resulting in overlap.