fix paging - typo in the computation of the number of shown rows