Made search() not return errors