Changed default values for min and max to null

The previous defaults 0 and false were converted to the integers 0 and 0, resulting in 0 being the only valid value for the given integer field.

Fixes EZP-21108, EZP-21109.