Fixing agent index in minimal dataset addition test.