Fix issue in reports where some points were isolated and with weird values:
- First issue is that DAO returns localdate but the code would insert missing datetime instead of localdate
- Fix missing insert when computing addMissingValueForDateIfNeeded in case this was the last one