Check DenEvents for null. Fixes #5