contentdatastore: fix events system
Merge pull request #492 from NielsCharlier/events

contentdatastore: fix events system