Don't crash when value is nil.  Fixes [NSDataDetector enumerateMatchesInString:options:range:usingBlock:]: nil argument' crash.