Fix conditional = vs. ==