Steps to reproduce:
- Open up an expense that was previously not set to "Exclude from spending plan". Add a split to the transaction where one part of the split is set to "Exclude from spending plan".
- Open up a spending report & add in the "Not Excluded in spending plan" filter.
Result is that both parts of the split are represented in the report. I would have expected that only the split where "Exclude from spending plan" was not selected to be shown.