Fix check for SMS resending