After committing a batch, the batch number will be written within the gift properties. Editing the batch number after committing will not update the batch number in the gift properties.
To create a gift query for this batch, enter the original batch number rather than the updated batch number.