Fix showing document's date instead of relatedDocuments's date