Fixed reading of 'not' symbol in compare expressions