0..3 is not the same as 0..infinity, we need to check both ends of the range. This logic was added in 3215e35c40, and back then the field was called .value. .stop was added later and apparently wasn't taken into account here.
3215e35c40