KT-4568: Cleaned up some of the code in ConvertNegatedBooleanSequence to match the other DeMorgan intention