Added option to remove duplicate entries from node selection