Fix deleteRepoDeleteLogs (SQL/tx)