Card #48 fix for detaching groups for parent and child groups.