Fix deactivation of device when failed underlying node disappeared