Fix Tags filter on directories

On both Docs and Wiki directories, tags should only show if they are associated
with items of the correct type.

Fixes #14