Added check for existing customers in events before deleting a customer