Return flat list instead of tree for finished tasks