Fix error in UniqueVariantAxisValidator