Do not 500 error when a page in the tree has an invalid type