Closes #250 Using logical time in the temporal last n store. Also using the id and millis of timestamp in the qualifier