Can't delete inputs of 'if' regions

Hey there!

When deleting an Output of an ‘if’ region, the corresponding inlet becomes red (desired behaviour, I guess):

Bug#1:
the (red) link to the Input does not go to the Input any more

Bug#2:
when deleting an Input to the region, it will simply not let you delete it (but it will remove any links the Input previously had).

Bug#3:
when deleting an Input to the region, and then going back (ctrl Z), we suddenly have two inputs (and the original connections are gone):

Cheers!