remove check for PageType since as it turns out not all existing tag
documents have a PageType.