group, person selection logic in event_edit.php