Fix: Avoid mutating node.range in max-len (fixes #1224)
Merge pull request #1230 from btmills/issue-1224

Fix: Treat node.range as immutable in max-len (fixes #1224)