Change things to use the end of an interval rather than the beginning. I think this is more intuitive.