fix bug in previousImpl that was reutrning a data point 11 days earlier instead of last data point