Fixed a minor error with the pagination of the historical