This is temp fix for when document is missing
Merge pull request #5429 from ticoann/fix_when_workflow_missing_in_stat_summary

This is temp fix for when document is missing