Deleting Categories

Why is it, that when I go to delete an empty category, that 4 other categories are listed as being deleted on the delete confirmation screen? These categories / products are not linked as best I can tell.

I found out that the problem was caused by the id_path being messed up on the categories table.



For example, a category with category_id: 123 and parent_id: 100 should have an id_path as 100/123. These that were wrong had the id_path stored as /123.



I’ve noticed this happen quite a bit when adding or updating categories. Does anyone know if there is a bug fix available for this issue?