If event was marked as send to everyone clean the $sendToUsers list.
Fixing end date value while editing + format code.
Fixing agenda calendar view.