Remove incorrect module presence checks in event

And add a safe default for cms_post_id
Merge pull request #735 from oidualc/master

Remove incorrect module presence checks in event