Allow falsy values as custom field db defaults

Use if isset($field->default_value) instead of just
if ($field->default_value) so we can set a custom field database
column's default to zero.