adjusted continuous queries to get from main series intead of other aggregate series