specifically test for the result of exit_asap=False
fixes for exit_asap=False; also sort aggregates when expanding