Fix for the case when there's no previous certificate.