Small change to the logscontroller to prevent the logs of deleted events to be visible