Made fix for nil fields to allow rake db:seed to run