Use Levenstein weight instead of string.Contains

Now that levenstein distance has weight, one can use it
instead of testing explicitly for string comparison.