Fixing initial value assignment

Fixed minimum and maximum fraction digits when numberPatternProperties
does not detect a fraction part in the pattern (it will return
undefined). While this is correct, the range validation requires a
number, so we assign 0 in the case of undefined returns.