Fix a bug in printing the first item of checked_out_books twice