Adapt to deepamehta-core.

Replace Sets by Lists.