(fixed) persisted batches functionality based on hydra-batch-edit