Minor update for in resource to see if a node is a node ref.