Batch query debugging pt 2