Add in checks, so orphaned pages will not explode.
Merge pull request #54 from adam-vessey/7.x-1.3

Add in checks, so orphaned pages will not explode.