DecodeTrace: Don't dereference iterator pointing at end of container.