deleting unused local tables for tags and inventory_items_tags