Replace return null to IntervalIterator.NO_MORE_INTERVALS