Remove assignment from condition