Fixes name editing of events. Fixes #626