Bug 215: add value checks for intervals.