Bug fixes for atomic bids/asks code review