That patch is wordy and the wordiness gets in the way of clarity. I think its basic idea can be expressed more concisely by adding a few words to the example, as in the attached.