Fixes issue with groups without contacts