[TECHNICAL SUPPORT] LPS-42858 Parent Organization is not shown for user if Sub Organization doesn't have site

Hey Sergio,

This PR fixes a typo when we collect the users's site groups. The basic problem was that the code iterates through the ancestor organizations, but not their, but the original organization's public or private layouts are checked.

I've reviewed this PR and find it OK. 

If you have any concerns, please don't hesitate to ask.

Cheers,
Vilmos