Fixed mistake in par_beginschedule: would iterate over tasks in reverse order.