Fixed last known bugs in DeviceDB