Allow nested $and-$or operations.