Fix comparison vs assignment in new code.