Fixed missing case in logic where some old traces were reused