fixed template argument

had given string as first arg to rangeIterator, but need type of
value-at-iterator
changed todo comment