reverse the legacy_processing_flag logic