Boolean expression needs brackets around it