Fix a bug I introduced with variants.