* The interval must fit exactly n times to the time range and query made so that the resulting avg will be exact * Add interval fix also to trend query