[bug 1032873] Fix for documents with parent.

Small fix for revisions of documents that have a parent (l10n).

r?