Fix simple interval calculation for descending intervals