Tyr: only keep data_set correctly integrated

last_dataset now return only data_set associated to a job with a state
at "done"