diff --git a/OsmAnd/src/net/osmand/plus/poi/PoiUIFilter.java b/OsmAnd/src/net/osmand/plus/poi/PoiUIFilter.java index e7d4e82846..6f178a3b80 100644 --- a/OsmAnd/src/net/osmand/plus/poi/PoiUIFilter.java +++ b/OsmAnd/src/net/osmand/plus/poi/PoiUIFilter.java @@ -578,7 +578,7 @@ public class PoiUIFilter implements SearchPoiTypeFilter, Comparable private void putAllAcceptedTypes(Map> types) { for (PoiCategory category : types.keySet()) { - if (acceptedTypes.containsKey(category)) { + if (acceptedTypes.get(category) != null) { acceptedTypes.get(category).addAll(types.get(category)); } else { acceptedTypes.put(category, types.get(category));