Fixed bug causing duplicate markets.