In most jurisdictions, there are several reasonably well establishing defences to tracing claims, although the case law is not entirely consistent.
Importantly, in each case it is only the remedy of tracing that is lost.