Added functionality that prevents an event from being deleted if a job is currently associated with it