Fix error when adding group with children to aggregator

Fix https://github.com/volkszaehler/volkszaehler.org/issues/107