Update Form.php

Avoid fields with null value to be considered as extra fields