Case #4243 - Export in batches