I found an issue where when there is a mergefield with a line feed in the IF statement, it does not collapse up during mailmerge when empty.
<MERGEFIELD Data1>
<IF <MERGEFIELD Data2>
= "TEST" "" "">
<MERGEFIELD Data3>
I…... You can use regular expressions to identify these patterns...