@SuppressWarnings("unchecked")
	// cast to map is safe since we put the map in earlier
	@Override
	public void restoreFilterState(FilterState state) {
		Map<String, VTMatchTag> storedExcludedTags =
			(Map<String, VTMatchTag>) state.get(EXCLUDED_TAGS_KEY);
		excludedTags.clear();
		if (storedExcludedTags != null) {
			excludedTags.putAll(storedExcludedTags);
		}

		updateTags();
	}
This differs from {@link #initializeTags()} in that this method will keep any excluded
tags when updating.
Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/filters/TagFilter.java