BUG: Fix crash in transforms on malformed CUSTOM events.

Fixes a crash in various transforms when providing CUSTOM events whose fields
don't match the fields required for the transform.
Why does a `WrongDataForTransform` has to get raised for `CUSTOM` in the first place?