Correcting issue with logging output for equality/inequality expressions.