Fixes metric calculation for missing metrics.

Missing metrics are given a value of 0, which throws off
calculations for open intervals (i.e. active < 1).

This fixes RR-116.

Change-Id: Ie26952de7a974d6ae4b940a0ae040df96d451ac4