Fix for #1338

field.associated_model_config returns an array, but abstract_model is in field, this fixes the error