Extracting now checks with a set instead of a list.
Some reorganization in SequenceExtractorTask.