PRD-5180 - Data loss when printing when using widow/orphans in deeply nested structures