Fix another assignment as condition warning