Coerce expiration to an int before saving