Correct $parent resolution to work at any position in a Path