Thanks for reporting that. I cannot reproduce the problem, but the attached patch should fix it. I installed this into master and am boldly marking the bug as done; we can reopen it if I'm wrong.