Massaged the pagination parameters