When the loss is not attributable to real malpractice but rather to the mistaken perception of it, then the objective is to prevent a claim or a lawsuit.