Bugfix for folder check during batch ingest