(math-possible-signs): Added checks to intervals.