fixed getIntervals bug to ensure it returns range from start of token at fromPosition...