[search] Fixed UB in search query cleanup.
[search] Fixed UB in search query cleanup.

VladiMihaylenko/omim,mapsme/omim,rokuz/omim,ygorshenin/omim,darina/omim,mapsme/omim,darina/omim,rokuz/omim,bykoianko/omim,trashkalmar/omim,Transtech/omim,Transtech/omim,goblinr/omim,dobriy-eeh/omim,bykoianko/omim,syershov/omim,mpimenov/omim,matsprea/omim,ygorshenin/omim,alexzatsepin/omim,mapsme/omim,bykoianko/omim,matsprea/omim,mgsergio/omim,darina/omim,ygorshenin/omim,goblinr/omim,syershov/omim,Zverik/omim,mgsergio/omim,syershov/omim,VladiMihaylenko/omim,rokuz/omim,mapsme/omim,darina/omim,milchakov/omim,syershov/omim,rokuz/omim,bykoianko/omim,milchakov/omim,dobriy-eeh/omim,goblinr/omim,Zverik/omim,rokuz/omim,goblinr/omim,mpimenov/omim,bykoianko/omim,VladiMihaylenko/omim,mpimenov/omim,Zverik/omim,mpimenov/omim,VladiMihaylenko/omim,syershov/omim,trashkalmar/omim,trashkalmar/omim,milchakov/omim,VladiMihaylenko/omim,goblinr/omim,ygorshenin/omim,VladiMihaylenko/omim,darina/omim,VladiMihaylenko/omim,darina/omim,alexzatsepin/omim,bykoianko/omim,Transtech/omim,rokuz/omim,Transtech/omim,alexzatsepin/omim,VladiMihaylenko/omim,matsprea/omim,milchakov/omim,alexzatsepin/omim,bykoianko/omim,trashkalmar/omim,Zverik/omim,Transtech/omim,milchakov/omim,bykoianko/omim,milchakov/omim,milchakov/omim,dobriy-eeh/omim,rokuz/omim,Zverik/omim,milchakov/omim,mapsme/omim,Transtech/omim,syershov/omim,darina/omim,mapsme/omim,milchakov/omim,Transtech/omim,syershov/omim,mpimenov/omim,milchakov/omim,dobriy-eeh/omim,mapsme/omim,goblinr/omim,mpimenov/omim,darina/omim,goblinr/omim,dobriy-eeh/omim,Zverik/omim,Zverik/omim,ygorshenin/omim,alexzatsepin/omim,rokuz/omim,trashkalmar/omim,ygorshenin/omim,alexzatsepin/omim,darina/omim,darina/omim,trashkalmar/omim,VladiMihaylenko/omim,matsprea/omim,syershov/omim,dobriy-eeh/omim,ygorshenin/omim,mgsergio/omim,VladiMihaylenko/omim,mpimenov/omim,goblinr/omim,dobriy-eeh/omim,dobriy-eeh/omim,mapsme/omim,Zverik/omim,Zverik/omim,VladiMihaylenko/omim,alexzatsepin/omim,mapsme/omim,Transtech/omim,dobriy-eeh/omim,bykoianko/omim,ygorshenin/omim,bykoianko/omim,dobriy-eeh/omim,Transtech/omim,bykoianko/omim,rokuz/omim,mpimenov/omim,mapsme/omim,trashkalmar/omim,trashkalmar/omim,rokuz/omim,bykoianko/omim,Transtech/omim,rokuz/omim,bykoianko/omim,syershov/omim,goblinr/omim,trashkalmar/omim,syershov/omim,darina/omim,matsprea/omim,ygorshenin/omim,alexzatsepin/omim,goblinr/omim,alexzatsepin/omim,mgsergio/omim,matsprea/omim,Zverik/omim,alexzatsepin/omim,mgsergio/omim,rokuz/omim,matsprea/omim,alexzatsepin/omim,mgsergio/omim,matsprea/omim,Zverik/omim,alexzatsepin/omim,mgsergio/omim,trashkalmar/omim,ygorshenin/omim,mpimenov/omim,syershov/omim,syershov/omim,mpimenov/omim,mgsergio/omim,mpimenov/omim,darina/omim,mapsme/omim,milchakov/omim,matsprea/omim,mpimenov/omim,matsprea/omim,milchakov/omim,Zverik/omim,Transtech/omim,ygorshenin/omim,VladiMihaylenko/omim,mapsme/omim,trashkalmar/omim,trashkalmar/omim,milchakov/omim,goblinr/omim,dobriy-eeh/omim,alexzatsepin/omim,mpimenov/omim,mgsergio/omim,mapsme/omim,mgsergio/omim,Zverik/omim,goblinr/omim,VladiMihaylenko/omim,Transtech/omim,mgsergio/omim,mgsergio/omim,rokuz/omim,dobriy-eeh/omim,goblinr/omim,dobriy-eeh/omim,syershov/omim,ygorshenin/omim,darina/omim