fix end-timestamp on daychange blocks