Error Fix: Boolean expression operator order