GCP-7029 added null checking for condition value before creating Double object