Warning instead of exception thrown when duplicate node detected