Fixed up GroupDetail so that available GroupTypes are based on properties of Block and on the allowed GroupTypes of the selected ParentGroup