Fixes in trends report
Set missing values only in unsubmitted documents
Set missing values only in unsubmitted documents
Set missing values only in unsubmitted documents
Merge pull request #1755 from nabinhait/v4-hotfix

Fixes in trends report