Updated path highlighting for collapsed/expanded nodes.