potential fix for #1500
fix regression with tag post counts
Merge branch 'master' of github.com:r888888888/danbooru