fixed duplicate orderset name form and multiple if statement-logic