Index note links improvements

Redelivers #52316641 with 2 improvements:

-  Index note links now work from the top node of the tree (Resource record).
-  The link now renders correctly when no 'Reference Text' value is provided. It uses the mandatory 'Value' field instead.