Corrected script on deletion of Dropdown

This fix allows the script to  delete the Top dropdown and at the same
time “ALL”  children drop down.