Add in checks, so orphaned pages will not explode.