Fixed a bug when dequeueing a prepared query batch