Fix case with only one result set