Thanks for the bug report and the fix! I wonder why I didn't hit that error in my test suite. I'll merge in the changes later today.