I dont see an issue here with it wiping anything out. Maybe it did not update your category info with the appropriate numextra fields. In adm-misc.php I added one more line here just as an update to make sure each childs cat insert is indeed updated with the correct number. Your data should not be lost
Code:
Content visible to verified customers only.