Fix UniqueVariantAxisValidator with mongo