converted Intervals objects to use 0-based instead of 1-based numbers