Fix function name in align_by_event.