Adds a check to prevent a device from adding itself