Bug fix: a node can not be its own source