Bug overview description. Tags with count=0 are shown in 'Trending tags' for wildcard-searches that include invalidated/aliased-away tags. This only applies to wildcard-searches, not searches for an exact tag.
What part(s) of the site page(s) are affected? /post/index/* , whenever the number of posts is sufficiently low that trending
What is the expected behavior? Tags with count=0 don't show up because it makes no sense (If they have 0 taggings, how can they be part of any 'trending tags'?)
What actual behavior is given instead? Tags with count=0 are shown. Reason this occurs is unclear -- 'hidden' taggings? Wrongly cached data?
Time of incident (if applicable). 2016-11-02 4:20PM -- but probably anytime.
Can you reproduce the bug every time? Yes
What steps did you take to replicate this bug? 1. Visit https://e621.net/post/index/1/upsid* ; Examine the sidebar. 2. Repeat this process in alternate browser [midori, in my case]
Errors or other messages returned (if any). N/A
Additional test cases: