checked if member_of_groups is set before parsing.