Issue #8209 by cableman: Fixed better logging and fixed random errors in the new search object