Think you want parens around the last two conditions.