It looks like the above is redundant? But it also looks like there's a bug in Hostgroup.my_groups when the current user is an admin.