StateHistorySink: do not write zero-length interval