Devices without deviceinfo are still devices

Everything that doesn't have partinfo linked is now a device. The back office devices don't have deviceinfo and it crashed the search previously.