fixed ExpirationOfEntitlementCerts() to handle bug 953830