Fix resource duplication when any tag is selected
It looks like we switch the model when a a tag is selected, so this model should also perform the group-by-based deduplication.
It looks like we switch the model when a a tag is selected, so this model should also perform the group-by-based deduplication.