Yea that's a bug, good catch.  I'll fix it and add a test.