I got response from the support. The issue was that in TICKS mode a tick in the historical data was evaluated even outside trading hours. It will be fixed in the next version.