That’s exactly the edge case because of which I said
But even that could be handled by making it so that hits in tags are treated the same as hits in content unless there is at least one search term that does not match a tag. Or you could simply treat tags as content, full stop.