[fix] Incorrect boolean placement