Fix: fencing: Correctly detect existing device entries when registering a new one