improved search autocompletion - fix #192