Appending logical operators to the heading logical expression