Fix how search-bar-icon terminates