Handle case of grouped data with only one group