To fix #441 (duplicated variants after generations)
Merge pull request #527 from jjanvier/fix/441

To fix #441 (duplicated variants after generations)