Fix error in finding best buy, sell, range prices