Fix bug with multiple pathParent

also makes pathKey except a pathIdx.
Get rhs/lhs correct.
Found another bug with pathParent. WIP.