Clarify logic in resolveConflictsForDocument