Add tag purity filtering