IMHO it's very hard to understand a logical block which mixes || and && in the same level of parentheses. Can this line be rewritten?