Bug fix in ingestReduced for multiple visits