Corrects longest outage queries to only account for active sites
Corrects outage count to only use active sites