Updated code to only keep track of data where all queried metrics have values at the same exact point of time