Avoid exceptions for orphan devices in search