fix autocomplete not ignoring diacritics [Closes #180]