Issue #2364849 by rudiedirkx: Fixed Don't export unselected actions.