Bug fixed with search sending partial strings