v.3.6.2 tags in odt not working ok

Dear All,
I’m testing v.3.6.2 on localhost Win 7.
I found that my old .odt templates - from 3.5.2 not working in right way.
I have a problem with IF myvar tags have right content, bu IF not working.
The same template with same SQL database works ok in 3.5.2

I have double check this issue.
Yes, its strange but with one and the same odt template with one and the same data, in 3.5.2. IF myvar works ok, but on 3.6.2. the same IF myvar don’t work ok. the tag myvar is with right content, but instead of printing the content the result is:

[!-- IF 22114455 --] Serial # 22114455 [!-- ENDIF 22114455 --]
the same is when Serial # is empty
[!-- IF --] Serial # [!-- ENDIF --]
This is the text in odt::
[!-- IF {line_options_hwserial} --] Serial # {line_options_hwserial} [!-- ENDIF {line_options_hwserial} --]

Hi again,

yes, I found that IF {my var} is a bug only for extrafileds in lines. I test with many builds and its one and the same bug not fixed yet.

To reproduce it
use any extrafield for lines in conditional substitution in cycle of BEGIN lines/END Lines and you will see that the tag is with right content, but IF statement dosent work and you have IF ELSE ENDIF in a .odt text.

I think that similar post already have in French forum and may be solution how to fix it.
Who can suggest any idea for fixing this?