Checking if sub-groups were already added