Should you check if ``$grp[$this->getConf('groupkey')]`` is an array? Not ``$grp[$this->getConf('groupkey')][0]``?