LANG-936: Handle Integer.MAX_VALUE edge condition in getLevenshteinDistance(String, String, int)