In the script: 114 if ( not $test_only ) { 115 $schema->txn_commit; 116 $indexer->index_records( \@updated_biblios, "specialUpdate", "biblioserver" ); 117 } We don't check if @updated_biblios has any members In elastic indexing, we also never check this - so background jobs with no record numbers get enqueued