Bug fix: don’t select a node twice