>>390733448
If you pick "Ignore leaf bones" it'll remove the last child of all bone hierarchy which is something you don't want.
For exporting, you need to remember to uncheck add leaf bones (mine gets checked by default for some reason) or the model will get extra bones added.