Added in filtering of tags.