Fix paging issue after rows count is  stopped