Fix replace of searchText