I made a change to the batch number after committing the gifts. When I attempt to query on the updated batch number, the query returns no results.
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.