Fixing bug of no more order open if first order fails