trigger now does not re-process batches that have already been processed