Fix issues caused by user canceling the same event twice.