Processor was not writing batches to all outputs

fixes #SERVER-271