Fixes hashtable errors when deleting tabs. Finds tabs by name, then selects the proper index - mrracine