[FIX] Make sure sanitizedValueForValue is only called on strings.