Bug 22417: Adapt the batch_record_modification tool