Guard against nils; leave model_attributes as nil