Changed the way that OrderBook.processOrder() deals with order types