I'm so sorry about this stupid error, and am very grateful that you found it. Would you try this patch (applicable to Emacs 27.1)?