Correct exception $previous docs (may be null).