Only restore function with `_old_class` attribute in eval_heurisch_diff.