Added error for no pdfs found