Query the device ID on delete, not on create.