A similar bug exists in the unix side.  Fixed by
check-in [53db9rcd41].