Fix MAGN-2528 Warning disappear after clicking on node and then on canvas.

That is because deselection of a node will validate all its connections and set its state accordingly. If a node's state is warning or error, it shouldn't be set to dead or active.