Fix for measurment garbage collection bug

We were sending garbage to redis durig garbage collection.  This fixes that.