Thanks, tsuwm, for reporting this.

I found the bug and fixed it.