Check the variant before abtest logging