Thanks for reporting that. I installed the attached patch into the emacs-26 branch.