Correctly set index on enumerable attributes

When indexing a list of values, the index is not created correctly. The set returned by Index#value_from should be created with the enumerable elements and not with the enumerable object.
Yes, me too. Now I realize I asked a question to a bot in the older diff. Anyway, the line is shorter now and it does the same. :)