Filter a list based on Listenshtein distances