fixed broken detection of "unset" interval value. this is a pretty ugly hack but it works as long as you stick to big round numbers for the interval.