Added test for cyrillic leters; Fixed bug with empty merging with empty query