Fixed some logic in list-runs for ods