Fix a possible null ref in the LocalDataService.
Bit more changes to getting all asset IDs.