bugfix: make sure the results are distinct for corpora that have subcorpora with the same name as the toplevel corpus