CCollection::groupBy fix