This is perfect.  Just wanted to note that this actually doesn't hold in the KA topic tree, where (for example) a video path contains an extra "parent" that doesn't exist (`/math/addition/v/basic_addition`; `v` doesn't exist, `basic_addition` is a child of `addition`)