Add missing parentheses. Silly SQL precedence.