CMFActivity: Improve node assignment of method-groupped activities.