Loop Code return difference result between editor and Published site.

@derekmoorer Yes, All the data are exactly the same. Even I do the query + count it show the same number. But not the insert operation.