Fixed year analytics having wrong quantization (today's midnight instead of Sunday's midnight) and only considering events in the past month instead of year