Work properly if muliple possible devices are available and the last one is not compatible.