GCP-7955 - add checking for data type for categorical variates before checking the value for cValueId