Sanitize the expire option.