Exclude projects specified by a json doesn't apply the filter to the data that is collected.
Directly included projects specified by the json should not be filtered with this only subprojects of the included projects.
A simple if includes statement should suffice.