Fix earliest-first example