Improve behaviour of TAB-triggered recursive editting.