diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/ComparisonShipFilter.razor b/WoWsShipBuilder.Common/Features/ShipComparison/ComparisonShipFilter.razor
index c096452d2..33f7a141a 100644
--- a/WoWsShipBuilder.Common/Features/ShipComparison/ComparisonShipFilter.razor
+++ b/WoWsShipBuilder.Common/Features/ShipComparison/ComparisonShipFilter.razor
@@ -119,7 +119,7 @@
@for (int i = TiersRange.First(); i <= TiersRange.Last(); i++)
{
int tier = i;
- bool isSelected = ViewModel.SelectedTiers.Contains(tier);
+ bool isSelected = ViewModel!.SelectedTiers.Contains(tier);