Rank buy/sell fix