PAHMA-964: Fix accidental swapping of pageSize and pageNum.