Bugfix: fix group statistics