Fix #334: derivative group by time() fill