Fixed crash when not all defined object keys are available in the device object parameter.