Fix for "Error loading device x: deviceConfig === device.config"