Fixed recent query promotion bug