Get rid of unused code in getUniqueNode.R