Fixed a bug in undo/redo + Renamed Method

> Fixed Bug: Unable to undo delete search for the 1st search after a 2nd
search is performed that returns no result.