diff --git a/OsmAnd-java/src/net/osmand/search/core/SearchPhrase.java b/OsmAnd-java/src/net/osmand/search/core/SearchPhrase.java index 31b66511a6..2e1aecfc5c 100644 --- a/OsmAnd-java/src/net/osmand/search/core/SearchPhrase.java +++ b/OsmAnd-java/src/net/osmand/search/core/SearchPhrase.java @@ -639,7 +639,7 @@ public class SearchPhrase { List unknownSearchWords = getUnknownSearchWords(); String wordToSearch = ""; - if (getUnknownSearchWordLength() > 1) { + if (unknownSearchWords.size() > 0) { List searchWords = new ArrayList<>(unknownSearchWords); searchWords.add(0, getUnknownSearchWord()); Collections.sort(searchWords, new Comparator() {