contentdatastore: fix events system