At the end of Little Town on the Prairie, when Ida Wright and Laura Ingalls recite the whole of American history, why did Ida’s part only go “to Rutherford B. Hayes”?

If there actually was a school exhibition and if it took place in December 1882, then Rutherford B. Hayes’s term had ended, James Garfield had died in office (September 1882), and Chester A. Arthur was president.