Bug fix in mergecreateinstance

Version V1 V2  
1 by Roi Illouze View Revision