dynamic history bugfix

increasing the length would fill the `date_buf` of the digest panels incorrectly.
I was sort of thinking about this when writing it, I think it also eliminates the failure case where len(missing_dts) != delta. I will update this