SAMZA-326; make range inclusive on head and exclusive on tail, rather than exclusive on both