Fixed Not operator not properly parsed when surrounded by other logical operators.