feat(filterTag): complete filter function of  the tag entity.