Fixing the search/new bug.