Correct the relay switch disable logic