This is true whether the validity issue becomes apparent during initial attorney-client consultations or in the midst of litigation proceedings.
Even if the validity issue becomes apparent during attorney-client consultation or in the middle of litigation proceeding, this is still true.