Fixing last search and replace bug.