Fix paging total closes #3774