smsops: fix parsing of validity period