Issue #21241:honor opstage_opinactive when inserting