If node was connected to output, we tag tree for update no matter where the node was re-plugged to. Should be safe for 2.79.
fc890cd