Remove incorrect module presence checks in event

And add a safe default for cms_post_id