Thanks for reporting that. I installed the attached patch into Emacs master.