Remove substring history search