Change the way we check taht a page is indexable

resolves #2