Issue #8209 by cableman: Fixed removal in the new search object