Date range gives wrong data

When you invalidate past data, you have to define the period (period=day/week/month) and also if you cascade the subperiods (cascadeDown=1)
See last point in: