Ensure USB device search succeeds if the matched device is at index 0.

The test after the USB device search fails if the matched device is at index 0.