I always found it was a subform issue. I am able to delete pages by removing all items on that page, then selecting the subform for the page itself from the hierarchy tab, delete the subform and you will get a warning message that you are trying to delete the last subform for the page, click delete ...