Fixed broken search because of using extended ASCII encoded characters, closes #807