New filter for exogenous vars

Previous script was not filtering scenarios where more than 1 exogenous variable was linked to a single endogenous variable