Fix not enumerable exception when dataplane trace is empty