Fixed a bug in the OrderBook update thread.