Fix the condition (Thanks AmauryCarrade!)