The docs above need to be corrected to note that rangeFilter()'s first arg is now a boolean.

I also wonder if we should change the arg name below to "isLastSegment" or "includesLastSegment" or some such -- it sounds a little like the arg points to some representation of the segment itself otherwise.  (I don't feel strongly about renaming "lastSegment" elsewhere, though... in the context of "range.lastSegment" it seems a lot less ambiguous).