Just found this to work to exclude the frontpage !$query->get( 'page_id' ) == get_option( 'page_on_front' )
thanks to this
seems kind of “hack-y,” but it works.
to exclude the nav-menu query $query->query_vars['post_type'] != 'nav_menu_item'
Thank you everyone for your help.