Ok I'm not great with code, so these ideas will need some polish
Have you tried using double ='s ... r==114? What about another AND clause that blocks it from parentnode?
If an AND clause won't work, perhaps a vbelse? E.G. <vb :else>if r=parentnode don't display </ vb:else>
I haven't actually looked at vBulletin code in awhile, I'm struggling with my "advanced" programming class and visual basic