Fixed filtering to ensure excluded events are dropped from the batch, rather than causing early termination of the batch building process.