Fixed bug in channel tracking code.

Instead of updating a map key, I overwrote the value.