Fix expiration date encryption issue