Fixed bug where the counter in ordered lists continued incorrectly when split over several pages