Fixed bug in virtualMarket.py