Fix allowing top level pages.