Minor bug fix in trending