Bug 982663: collect and transmit app usage metrics

add parens around the comparison for clarity.