I have the feeling you be doing it wrong. I would probably do it like this
-taxonomy
---parent1
------childA
------childX
---parent2
------childB
------childX
---parent3
------childC
------childX
You see, different parents can have the same child term name, here childX, without it being the same term, they have different ids, so they wouldn't get all highlighted.