How can I filter which children I want to show in a sub navigation menu
The way I usually accomplish this is to add a "Hide From Nav" Lightswitch field to the sections I want to filter.

This will filter out any entries where the Lightswitch is "on".

{% set subnav = craft.entries.descendantOf(mainEntry).hideFromNav('not 1').level(2) %}