Fix chain verification.