Fix delete eventlogs

Commit from gh-638 that was intended to be rebased. There should be "DELETE" entries in the eventlog table after a successful delete.