Bugfix when getting the parent group in a group form