Corrected logic for resetting sniffability of devices.