Got the page delete button to switch to the previous or next page correctly.