If the timeline and transition editor has focus pressing delete deletes the complete item.
This is not ecpected and only seems to happen on macOS. On Windows pressing delete or backspace does not delete anything. You have to use the context menu do delete keyframe groups.
Pressning del/backspace on macOS should not delete the complete item.