Fix update of destination field in the original node when deleting a listener.

#6307