GoalFormController fixed up check parent's children type isssue