Fix a crash if there are no addresses in a trace.