Fix to lastItemNumber in Paginator

This fixes the display of "1-5 of 12" for example, previously it was
using the total to calculate the "lastItemNumber" i.e "1-12 of 12".