Fix support for incident generation from trace file.