BZ-10904: fix the trending query