Issue #1971980 by Volx: Fixed Features export not taking into account provision of flag types by flag_definition_alter().