Fix groups not being detected after #189