Bug fix numeric fields

The value of numeric fields must also be set to nil if nothing is entered.