Fix: Handle orphans documents.