Fix bad conditional