fixed query for pending beta requests