Fixed bug where pagination for downloading reports was breaking for pages larger than 1 because I was calculating last index as opposed to the delta of (size) of the page