Use correct table name when clearing logs