Fixed behavior of node:references

It was showing the paths to the referenced properties not the paths to
the referring nodes.