Hi Danjel,
I am getting the same problem what you are facing in deleting the Hiearchies. I have done with the COM_HIERARCHY_DELETE_ALL . Then all the Hierarchy got deleted.
Now i am getting this following error, while Clicking on the Search option under the Search product page. Can you suggest what to do?