Fix issue related to new page being added via API