only active posts show up. only tags belonging to active posts show up. added tests