Fixing issue where only a single set of connection settings were stored, not separate settings for each model.