Fixing bug in statsd processing

Change-Id: I9fbcbba3c6c0277282352a25c690a7663571d1c5