Yup, good catch! I'll fix this and add a test.