Fixed findBugs warning.

Please check if I did the correct thing in Interval.setMonth()