Delete commands already have an event at the end of the command. However, the timing of this event may be too late for cleaning up additional data, as the respective entry and linked data have already been deleted from the database due to foreign keys.