is this a bug: groups - owner and membership ??

I'm currently switching from elgg 1.5 to current 1.8 version. As I noticed, the joined groups of a user are not displayed, as I expected.

I dived into the groups/lib/groups.php and had a look at groups_handle_mine_page(). I don't understand the separation for page_owner and not page_owner. The name of the function implicates, this function lists all of MY (the users) joined groups (not for something else).

In my case, the page_owner is the admin. The user, who is calling this function, is someone diffent.

I tryed to change the code from

$content = elgg_list_entities_from_relationship(array(
'type' => 'group',
'relationship' => 'member',
'relationship_guid' => elgg_get_page_owner_guid(),
'inverse_relationship' => false,
'full_view' => false,
));

to

$content = elgg_list_entities_from_relationship(array(
'type' => 'group',
'relationship' => 'member',
'relationship_guid' => elgg_get_logged_in_user_guid(),
'inverse_relationship' => false,
'full_view' => false,
));

and that is working for me.

If I'm right, then some of the lines above may be obsolete, and it my be senseful to check the function groups_handle_owned_page() for the same reason.

BTW: I think, it would be much more consistent to have "memberships" and "ownerships" in the tabbed menue instead of having them in the sidebar. (I already changed this for my needs.)