Fix deleteFindMin and deleteFindMax.