FIX: do not attempt to deselect tags if filter is not empty (PR #9345)

GitHub