Corrected the exception thrown during all-books display