When combining AND and OR, be sure to enclose the individual clauses in parentheses, like so: