fix filtering by tag error