Fixed -n to limit #docs in both sinks and sources; maxDocs