Fix: Use event strings, not names for all_events

Temporarily broke event registration by frontend, this should fix it again.