Fix NaN values in profiler lines.