Handle null search node ids