Added check to confirm we're not adding duplicate TPGSettingDefinition objects to a single TPGSettings object.