Make sure that attachments are deleted when an event is