homepage bugfix - only incremeant counter when category is checked