fixed latest value timeseries

together with
https://github.com/ddsc/dikedata-api/pull/6