Revert "Use a closed instead of half-closed range"

This reverts commit 3bddf0ff25c6d1f3d8ba01e8439f4088960fb103.

It caused an off-by-one error (oops), and now I feel like I'd rather
have the half-closed range again anyway.