Raise exception if search is None?