handle successful searches properly after a failure