changed behaviour when searching index and no entry beginning with string is found: until now, it found first substring, and now it find substring from beginning of word (it has to have space before it)