[965] Add missing flagging of new stage programs for updating stage state.