Fixed empty search string error