Fixed issue with assigning events to tickets