private void fixupActiveFunctions() {
		if (sourceToTargetsMap.isEmpty()) {
			activeFunctions = new Duo<>();
			return;
		}

		if (!containsFunction(LEFT, activeFunctions.get(LEFT))) {
			Function newLeft = getFunctions(LEFT).get(0);
			activeFunctions = activeFunctions.with(LEFT, newLeft);
		}
		if (!containsFunction(RIGHT, activeFunctions.get(RIGHT))) {
			Function newRight = getFunctions(RIGHT).get(0);
			activeFunctions = activeFunctions.with(RIGHT, newRight);
		}
	}
Removes all the given functions from all comparisons in the model
@param functions the functions to remove
Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/model/MatchedFunctionComparisonModel.java