Conditions and QueryL in same element

I’m looping a taxonomy terms, and i want to display/hide < li > based on his content.

< ul >
< li >TERM NAME BLA1< / li > LOOP + condition (display only if TERM NAME BLA1)
< li >TERM NAME BLAn< / li > LOOP + condition (display only if not TERM NAME BLA1)
</ ul >
For some reason condition 1 (if equals BLA1) do not works…
condition 2 works well.

image

Any tips?
Ty