I entered two programmed commands (with no immediate commands pending) and deleted them again. This resulted in two Game_AddBoatActions, the first containing the two programmed commands, and the second containing one immediate command:
{"@class":".LogEventRequest",
"eventKey":"Game_AddBoatAction",
"race_id":440,
"leg_num":1,
"ts":1606062300000,
"actions": [{"values":[
{"ts":1606065900000,"heading":63,"autoTwa":false},{"ts":1606066500000,"heading":33,"autoTwa":false}],
"type":"prog"}],
"requestId":"637416590652980000_22"}
and after deleting them
{"@class":".LogEventRequest",
"eventKey":"Game_AddBoatAction",
"race_id":440,
"leg_num":1,
"ts":1606062360000,
"actions":[{"value":63,"autoTwa":false,"type":"heading"}],
"requestId":"637416591186130000_23"}
The Dashboard reflects this correctly in the Race Log and Race Status:
... but the second command is indeed a bit surprising. I think this can be considered a bug in the game UI.