Fixed NPE in DeviceDBRDHelper