Numbering of children gets messed up while expanding list

It looks like this is a duplicate of the other bug on the forum: Number list discontinuity (when expanded and/or collapsed)

It looks like upgrading the version of Electron would fix it, but it’s gonna require some work to update it and make sure everything still works.