Fixed bug where query store not being updated with published events