when there are multiple tasks (also seen as sessions) with task json as root, it fails to find the metadata because the wrong folder was filtered (line 569) + added a condition for not returning (fprintf) that files are not find when in fact they were filtered out (line 249) --> tested on ERP core
when there are multiple tasks (also seen as sessions) with task json as root, it fails to find the metadata because the wrong folder was filtered (line 569) + added a condition for not returning (fprintf) that files are not find when in fact they were filtered out (line 249) --> tested on ERP core
and other tidy up stuff