Do not loop forever in broken documents

StitchingFunctions that have themselves up in the parent chain are wrong
2 files changed