Added AND and OR logical operators using an array clause