Now works on subranges.