Corrected error in execution of market orders.