Fix #334: derivative group by time() fill

NOTE: issue was modified to include only derivative with no group by and derivative with group by + fill.  Issue #1030 was created to fix group by without fill.
I just pushed a change to set `lastValue` to `newValue` and all the data tests are passing except the difference aggregator ones which were failing before