Lint
Improve accuracy and number of intervals used in trends query