Fixed problems selecting options in create and edit group