Fix entities in attributes only working for root node. RT #89402