Preserve the current index in History list when a single entry is deleted.