Fixed a rare ConcurrentModificationException that would occur when updating stock prices.