Fixed bug in paramsObject to use page instead of pageNumber