(Airavata-1364) Correcting conditionals that were using = instead of ==