fix bug with interval generation
fix bug with interval generation

ehazlett/interlock,wr0ngway/interlock,krishamoud/interlock,mbentley/interlock,aerospike/interlock,vixns/interlock,everett-toews/interlock,mbentley/interlock,everett-toews/interlock,wr0ngway/interlock,aerospike/interlock,krishamoud/interlock,vixns/interlock