LPS-38099 Apply same pattern as in Organization and fix bug. The issue is that in parentGroupId we shouldn't be using group.getParentGroupId but group.getGroupId (same as we are doing in orgs)
LPS-38099 Remove condition that is never true
LPS-38099 Omit condition that is always true
LPS-38099 SF