Fixing a bug in AssetService.