Basket/period converter problem.

 
I've changed the period_converter script into basket2 in order to create a new chart with a basket of two currencies. However, there is a problem in this script which I'm not able to solve. When you attach script to a chart (allow DDL calls and don't confirm calls) in its default settings, and then open offline BASKET,H2, it is working as it should. I.e. there is a chart with double period which is updated correctly. However, when I change ExtPeriodMultiliper to 1, then the offline chart BASKET,H1 is wrong and not updated anymore. Can somebody look at script and localize the problem? I'm clueless :-(
Files:
basket2.mq4  7 kb
 

Download last updated client terminal and try again

 
Indeed, it seems to be solved in build from 18th May. However, most of my installs are from May 4th and don't want to update atomaticly.
 
Download manually and install over existing version
Reason: