Queries work by searching information that is in your database.  While the information in a batch is saved in that batch, it is not actually in your database and cannot be queried.