Fix fetching folders with more than 100 files