Made document index exclude folders with no pdfs