Fixed bug preventing creation of new event