PHRAS-335 #fix dashboard & downloads query