Prefer default when setting default values of model (fixes #381)