diff --git a/GhostfolioSidekick/Ghostfolio/API/GhostfolioAPI.cs b/GhostfolioSidekick/Ghostfolio/API/GhostfolioAPI.cs index 4b4de6aa..aa196258 100644 --- a/GhostfolioSidekick/Ghostfolio/API/GhostfolioAPI.cs +++ b/GhostfolioSidekick/Ghostfolio/API/GhostfolioAPI.cs @@ -205,8 +205,8 @@ static void AddToCache(string identifier, Model.SymbolProfile? asset, IMemoryCac } var filteredAsset = assets - .Where(x => expectedAssetClass?.Contains(x.AssetClass.GetValueOrDefault()) ?? false) - .Where(x => expectedAssetSubClass?.Contains(x.AssetSubClass.GetValueOrDefault()) ?? false) + .Where(x => expectedAssetClass?.Contains(x.AssetClass.GetValueOrDefault()) ?? true) + .Where(x => expectedAssetSubClass?.Contains(x.AssetSubClass.GetValueOrDefault()) ?? true) .OrderBy(x => x.ISIN == identifier ? 0 : 1) .ThenBy(x => x.Symbol == identifier ? 0 : 1) .ThenBy(x => x.Name == identifier ? 0 : 1)