Fix error on attempts to split a path that ends at tag node child name.