Validation for task groups creation