fix #426, dodgy typo in event data validation