Protect variant against self assignment
Merge pull request #1 from jbcoe/patch-1

Protect variant against self assignment