Fix EZP-22098: Rest api bug when a user creat a contenttype with 0
as min or max value for a float or integer