INTO from multiple measurements

First check if your aggregated query is even giving the result that you expect. Better keep an eye on this:

The only thing you can trust influx to do right (of course my point of view) is store data, and read data. The rest you better verify.