Data not in database at time of postInsert event handling

So I have a ORM persistent model (let’s call it “myModel.cfc”, for table “mymodel”). In it, I use postUpdate / postInsert methods to save data into a log file. In both methods, I use a “queryExecute” statement on mymodel to select some other data from mymodel based on the inserted entity, before inserting the returned values of that query into my log table.

It appears to be working correctly for postUpdate. However, for postInsert, I (most of the time) get values consistent to data being inserted. If I look in the table after running the code, the data does appear to have been inserted.

Any thoughts on what could be happening? Or is it a bug in Lucee (I’m running the latest stable build)?