Added nonempty assertion to batched_replaces_t constructor.