Fixed PHP-915: batchSize() can not be called after a cursor has started iterating