I think I figured this out. It is related to my latest change of moving refreshing of recording actions to a worker thread. That part is still OK, but another thread, with client merging database with the server, reset the actions cache without reloading it.
I have fixed this and will do some testing to confirm that it is fixed before merging my code for the next build.