Just to add on, I actually tried using NSMetadataQuery, and for some reason the ubiquitous item keys were all returning nil. Not too sure why it's happening, might have to talk to Apple Developer Technical Support for help.
Post
Replies
Boosts
Views
Activity
Facing a similar issue too with contexts residing in interactive widgets.
Except the data isn’t lost, it just requires a restart of the main app to get the updated data.
Data seems to merge just fine even when editing the outdated data in the main app, but it’s still an issue.