GCP-5515: ClassCastException Fix on Add Env Condition Button