SI-6192  Range: to, until and end are confusing

Added some documentation explaining what the role of `end` is.
Merge pull request #4019 from Ichoran/issue/6192

SI-6192  Range: to, until and end are confusing