SPPageBuilder's dynamic content feature has a "switch" (boolean) type input you can add to collection items.
I noticed that the dynamic content system was refusing to filter by these switch inputs on the front-end but discovered what it was.
When they are first created, your system is probably setting the values to null, but your filter is strictly checking for true/false, meaning that these fields won't get filtered in or out until they are toggled on and then off and then the collection is saved.
Essentially, whether you want the switch to be set to true or false, you must toggle it at least once before the filter will recognize and filter by it.
Send this to your development team!
Thanks