Fix restricted sms times validation