another tweak in variantSearch