Fix for exception if device is loaded with invalid asset id.