Fixes bug with itemPageNumber
Removes Array API altering method.