Fixed bug where trace_id was always set to true.

When using the new imprint 1.4.0 version the trace_id was always set to true when using 2.1.2. Didn't test with other versions. Broke apart the conditional where the trace_id was being set so it is not set in the conditional. Verified the trace_id was set to IMPRINTID header after the fix was applied.