Corrected an issue with responses being incorrectly generated in some instances by moving the conditional to convert line breaks to a position reachable by all hl7 messages.
Issue: MIRTH-3461