Fixed bug where the esction method for the Page class would not check the title of the sections properly