Fix: checking, if initial grouping is specified