You're right, I overlooked this, now fixed and added a test case.