query for auctions was broken as well