Fix bug where paging count was using page instead of actual count/length