Ldap GeneralizedTime logic fix