fixed issue where the final list-o-pdfs weren't being returned