Groups without GroupType break AlekSIS
Due to this wonderful change by @hansegucker the group detail pages and all other places where group members are queried in the frontend are broken.
This condition will break for all groups without a group type. A possible fix could be not (root.group_type is not None and not root.group_type.owners_can_see_members)
, but may not be the intended behaviour...