Fixed minor bug in event_form.
Fixed small bug where eventtypes with spaces in the name would not be updated.
Fixes #18