Fix deletion ('d' command) from inside a search.