               m = info.metric.id
               if m == 'id'
                 # trash/bullet: remove
-                setRecord(info, null)
+                setRecord(info, null) if info.c != Key.id
                 return
               return if info.metric.readonly
               editScope.type = info.metric.type

          info.row.classList.add('expand')

          max = expanded.count
          max++ if Editing && expanded.category != Key
          return if max <= 1
          next = info.row.nextSibling
          start = expanded.count == 1

            c = record.category || 0

            # populate depends:
            if Depends[record.id]
              # skip duplicates:
              continue if i of Depends[record.id]
            else
