Fix regression if no page is defined